package com.myblog.services;

import com.baomidou.mybatisplus.extension.service.IService;

import com.myblog.domain.GlobalResponse;
import com.myblog.domain.dto.CategoryDto;
import com.myblog.domain.entity.Category;

import javax.servlet.http.HttpServletResponse;

/**
* @author Administrator
* @description 针对表【sg_category(分类表)】的数据库操作Service
* @createDate 2022-09-26 10:22:01
*/
public interface CategoryService extends IService<Category> {

    GlobalResponse getCategoryList();

    GlobalResponse getAllCategoryList();

    void AllListToExcel(HttpServletResponse response);

    GlobalResponse getList(Integer pageNum, Integer pageSize, String name, String status);

    GlobalResponse addCategory(CategoryDto categoryDto);
}
